function skzr_replace_googleRWT() {
	var rso = document.getElementById('rso');
	if (rso) {
		var all = rso.getElementsByTagName('a');
		var findFlag = false;
		for (var a, i = all.length - 1; i >= 0; i--) {
			a = all[i];
			if (a.onmousedown && a.onmousedown.toString().indexOf(' rwt(') > 0) {
				findFlag = true;
				a.onmousedown = null;
				a.href = skzr_google_url(a.href);
			} 
		}
		if (!findFlag) return;
	}
	setTimeout(skzr_replace_googleRWT, 300)
}

function skzr_google_url(v) {
	var url = v;
	var pos = url.indexOf('?');
	if (pos > -1) url = url.substring(pos + 1);
	var params = url.split('&');
	for (var tmp, i = params.length - 1; i >= 0; i--) {
		tmp = params[i];
		pos = tmp.indexOf('url=');
		if (pos == 0) {
			return tmp.substring('url='.length);
		}
	}
	return v;
}

setTimeout(skzr_replace_googleRWT, 300)